<template>
  <div class="error">
      <lottie :options="loadingOptions" style="width:600px;height:600px;"/>
      <el-button type="primary" @click="toHome" class="common_btn-defalut button_404">返回首页</el-button>
  </div>
</template>

<script>
import lottie from 'vue-lottie'
const animationData = require('./lottie-json/403.json')
export default {
  components: { lottie },
  data () {
    return {
      loadingOptions: { animationData: animationData },
    }
  },
  methods: {
    // 登出
    toHome () {
      this.$router.push('/')
    }
  }
}
</script>

<style lang="less" scoped>
@import url('./common.less');

</style>
